-- GENERATED SPELL FOR [Proto-Whelp Hatchling] --


function spell0_23750(pUnit, Event) --@Flame Breath,n/a--
pUnit:FullCastSpellOnTarget(51218,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23750', 2000, 1)
end

function Sorts_23750(pUnit, Event)
local choix_sorts_23750 = math.random(0, 0)
if choix_sorts_23750 == 0 then
pUnit:RegisterEvent('spell0_23750', 1, 1)
end
end

function mob23750_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23750', math.random(1500, 3000), 1)
end

function mob23750_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23750_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23750_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23750, 1, 'mob23750_Action')
RegisterUnitEvent(23750, 2, 'mob23750_Leave')
RegisterUnitEvent(23750, 3, 'mob23750_Kill')
RegisterUnitEvent(23750, 4, 'mob23750_Die')
